<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="w" uri="/water-tags"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html >
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<s:component template="include-css-main.ftl"></s:component>
		<s:component template="include-css-page.ftl"></s:component>
		<s:component template="include-js-jquery.ftl"></s:component>
		<title>layout</title>
	</head>
	<body>
		<s:url id="index_url" value="/"/>
		<a href="${index_url}">主页</a>
		<w:layout columns="1">
			<s:textfield label="姓名" ></s:textfield>
			<s:textfield label="年龄" ></s:textfield>
			<s:textfield label="爱好" ></s:textfield>
			<s:textfield label="特长" size="50"></s:textfield>
			<s:radio name="gender" label="性别" list="{'Male','Female'}" />
			<s:select headerValue="--请选择--" headerKey="-1" list="#{1:'java',2:'.net',3:'php'}" label="语言" listKey="key" listValue="value"></s:select>
			<s:checkboxlist list="#{1:'田径',2:'游泳',3:'篮球'}" name="community" label="运动" />	
			<w:package label="包裹">
				<s:textfield label="first name" size="30"></s:textfield>
				<br />
				<s:textfield label="last name" size="30"></s:textfield>
			</w:package>	
		</w:layout>
		<br/>
		<w:layout columns="2">
			<s:textfield label="姓名" ></s:textfield>
			<s:textfield label="年龄" ></s:textfield>
			<s:textfield label="爱好" ></s:textfield>
			<s:textfield label="特长" size="50" ></s:textfield>
			<s:radio name="gender" label="性别" list="{'Male','Female'}" colSpan="2"/>
			<s:select headerValue="--请选择--" headerKey="-1" list="#{1:'java',2:'.net',3:'php'}" label="语言" listKey="key" listValue="value"></s:select>
			<s:checkboxlist list="#{1:'田径',2:'游泳',3:'篮球'}" name="community" label="运动" />		
		</w:layout>
		<br/>
		<w:layout columns="3" cssStyle="width:100%">
			<s:textfield label="姓名" ></s:textfield>
			<s:textfield label="年龄" ></s:textfield>
			<s:textfield label="爱好" ></s:textfield>
			<s:textfield label="特长" size="50" ></s:textfield>
			<s:radio name="gender" label="性别" list="{'Male','Female'}"/>
			<s:select headerValue="--请选择--" headerKey="-1" list="#{1:'java',2:'.net',3:'php'}" label="语言" listKey="key" listValue="value"></s:select>
			<s:checkboxlist list="#{1:'田径',2:'游泳',3:'篮球'}" name="community" label="运动" />		
		</w:layout>
		<s:set name="water_theme" value="metro" scope="application"/>
		<%/*application.setAttribute("water_theme", "metro");*/ %>
	</body>
</html>